<% @page_title = "Adicionar Usuário" %>

<% form_for(@user) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label "Nome" %><br />
    <%= f.text_field :name %>
  </p>
  <p>
    <%= f.label "Telefone" %><br />
    <%= f.text_field :phone %>
  </p>
  <p>
    <%= f.label "Celular" %><br />
    <%= f.text_field :cell %>
  </p>
  <p>
    <%= f.label "Email" %><br />
    <%= f.text_field :email %>
  </p>
  <p>
    <%= f.submit "Criar" %>
  </p>
<% end %>

<%= link_to 'Voltar', users_path %>
